package org.zerg.service;


import java.io.IOException;
import java.util.List;

import org.zerg.dto.FileDto;
import org.zerg.entity.Banner;
import org.zerg.entity.BannerItem;

public interface BannerService {

      Banner getBannerById(int id);
      
      List<BannerItem> getBannerList();
      
      void modifyBanner(int id,FileDto dto,int classId) throws IllegalStateException, IOException;

	void modifyBannerNoFile(int id, int pid);
}
